class CreateBaomings < ActiveRecord::Migration
  def self.up
    create_table :baomings do |t|
      t.integer :quantity
      t.integer :buy_time
      t.string :contact_name
      t.string :address
      t.string :tel
      t.string :email
      t.integer :sex
      t.string :description

      t.timestamps
    end
  end

  def self.down
    drop_table :baomings
  end
end
